<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="com.msmall.community.space.util.SpaceConstants" language="java"%>
<c:set var="SPACE_WIDGET_PART_DIARY" value="<%=SpaceConstants.SPACE_WIDGET_PART_DIARY%>"></c:set>

<div id="diaryLeftContent" class="spalistw730">
	<div class="spaw730nav">
		<p class="sHB00 fl" onclick="spaceIndexNav(<c:out value='${SPACE_WIDGET_PART_ALBUM}'/>)">
			Ta的日记
		</p>
	</div>
	<div class="spalisdiv">
		<c:if test="${not empty page.items}">
			<c:forEach var="diary" items="${page.items}"  varStatus="status">
				<dl id="space_diary_${diary.diaryid}" class="spadailydl">
					<dt>
						<a class="lHc00" href="javascript:spaceDiaryView(${diary.diaryid})">
							<c:out value="${diary.title}"></c:out>
						</a>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a id="space_diary_remove_${diary.diaryid}" class="lc00" href="javascript:spaceDiaryRemove(${diary.diaryid}, ${SPACE_WIDGET_PART_DIARY})">
								删除
						</a>
						<a href="javascript:spaceDiaryUpdate(${diary.diaryid})">编辑</a>
					</dt>
					<dd>
						<p class="s666">
							<c:out value="${diary.contentAbstract100}"></c:out>
						</p>
						<p>
							<fmt:formatDate value="${diary.lastModifyTime}" pattern="yyyy-MM-dd : HH ss"/>
							 赞<span class="sf00">(<c:out value="${diary.topAmount}"/>)</span>
							评论<span class="sf00">(<c:out value="${diary.replyAmount}"/>)</span>
						</p>
					</dd>
				</dl>
			</c:forEach>
		</c:if>
		<c:if test="${empty page.items}">
			<dl class="spadailydl">
				<dt>
					暂无日记
				</dt>
				<dd>
				</dd>
			</dl>
		</c:if>
	</div>
	<div class="pagediv martop10 tc clear">
		<jsp:include page="/WEB-INF/content/html/space/p_diary_pager.jsp"></jsp:include>
	</div>
</div>